import React from 'react';
import { connect } from 'dva';
import { Tabs } from 'antd';
import PageContent from '../../../components/PageContent';

const TabPane = Tabs.TabPane;

@connect(({ app, loading }) => ({ app, loading: loading.models.app }))
class Client extends React.Component {
  render() {
    const tabsProps = {
      tabPosition: 'top',
      type: 'card',
    };
    return (
      <PageContent title="委培方管理">
        <Tabs {...tabsProps}>
          <TabPane tab="学员管理" key="1">
            学员管理
          </TabPane>
          <TabPane tab="协议管理" key="2">
            协议管理
          </TabPane>
          <TabPane tab="费用管理" key="3">
            费用管理
          </TabPane>
          <TabPane tab="临时账户" key="4">
            临时账户
          </TabPane>
        </Tabs>
      </PageContent>
    );
  }
}

export default Client;
